package br.com.citta.business.service.impl;

import br.com.citta.business.entities.Empenho;
import br.com.citta.business.entities.wrapper.EmpenhoWrapper;
import br.com.citta.business.service.EmpenhoService;
import br.com.citta.dao.EmpenhoDao;
import java.util.List;

public class EmpenhoServiceImpl implements EmpenhoService{
    
    EmpenhoDao empenhoDao;

    public void setEmpenhoDao(EmpenhoDao empenhoDao) {
        this.empenhoDao = empenhoDao;
    }
    
    public List<Empenho> findAll(String ordem){
        return empenhoDao.findAll(ordem);
    }

    public List<Empenho> findEmpenhos(String codigo, String anoBase, String mesFim){
        return empenhoDao.findEmpenhos(codigo, anoBase, mesFim);
    }
    
    public List<EmpenhoWrapper> findEmpLiqPag(String codigo, String anoBase, String mesFim){
        return empenhoDao.findEmpLiqPag(codigo, anoBase, mesFim);
    }
}
